package com.ruoyi.project.inspection.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 车辆行驶证图片对象 vehicle_img
 * 
 * @author ruoyi
 * @date 2020-07-13
 */
public class VehicleImg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Long vehicleId;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String imgRul;

    /** 证件类型：1行驶证正页，2行驶证副页 */
    @Excel(name = "证件类型：1行驶证正页，2行驶证副页")
    private Integer type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setImgRul(String imgRul) 
    {
        this.imgRul = imgRul;
    }

    public String getImgRul() 
    {
        return imgRul;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vehicleId", getVehicleId())
            .append("imgRul", getImgRul())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
